package com.lashou.labelutil.dao;

import java.util.List;
import java.util.Map;

import com.lashou.labelutil.model.GoodsCategoryLabelLog;
import com.lashou.labelutil.model.GoodsCategoryList;
import com.lashou.labelutil.model.GoodsProfileBean;

public interface ILabelDAO extends IBaseDAO {

	public List<GoodsProfileBean> findAllGoodsProfileBean();
	
	public List<GoodsCategoryList> findAllGoodsCategoryList();
	
	public Map<String,GoodsCategoryLabelLog> findAllGoodsCategoryLabelLog();
	
	public boolean updateGoodsProfileBean(GoodsProfileBean bean);
	public boolean saveGoodsCategoryLabelLog(GoodsCategoryLabelLog log);
	
	public int getGoodsProfileTotal();
	public int getGoodsLabelLogTotal();
	
	
	
	public List<GoodsProfileBean> findGoodsProfileByCategoryType(String categoryType,int startIndex,int count);
	public int findBySQL(String sql);
	
	public GoodsProfileBean findGoodsProfileBeanById(java.io.Serializable goodsId);
	public List<GoodsProfileBean> findGoodsProfileBeanByTitle(java.io.Serializable title);
	
	
	
	public List<GoodsProfileBean> findLastGoodsProfile(long date,int startIndex,int count);
	public int findTotalLastGoodsProfile(long date);

}
